/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package CollaborativeFilttering.Estruturas;

/**
 *
 * @author Pedro
 */
public class ValoresOcorrencia
{
    private double Nij;
    private double CoeficienteCosseno;

    public ValoresOcorrencia(double Nij)
    {
       this.Nij = Nij;
    }
 
    /**
     * @return the Nij
     */
    public double getNij() {
        return Nij;
    }

    /**
     * @param Nij the Nij to set
     */
    public void setNij(double Nij) {
        this.Nij = Nij;
    }

    @Override
    public String toString() {
        return ""+this.Nij;
    }

    public void incNij()
    {
        this.Nij++;
    }

    /**
     * @return the CoeficienteCosseno
     */
    public double getCoeficienteCosseno() {
        return CoeficienteCosseno;
    }

    /**
     * @param CoeficienteCosseno the CoeficienteCosseno to set
     */
    public void setCoeficienteCosseno(double CoeficienteCosseno) {
        this.CoeficienteCosseno = CoeficienteCosseno;
    }
}
